package com.aijk.ehm.dao.mybatis;

import com.aijk.ehm.model.SemRecord;
import com.aijk.ehm.model.SemRecordExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SemRecordMapper {
    int countByExample(SemRecordExample example);

    int deleteByExample(SemRecordExample example);

    int deleteByPrimaryKey(Long id);

    int insert(SemRecord record);

    int insertSelective(SemRecord record);

    List<SemRecord> selectByExample(SemRecordExample example);

    SemRecord selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") SemRecord record, @Param("example") SemRecordExample example);

    int updateByExample(@Param("record") SemRecord record, @Param("example") SemRecordExample example);

    int updateByPrimaryKeySelective(SemRecord record);

    int updateByPrimaryKey(SemRecord record);
}